\documentclass[a4paper]{article}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}

\begin{document}

\begin{figure}[htbp]
\centering
\begin{tikzpicture}
\begin{axis}
        [
        axis lines = middle,
        xlabel = $x$,
        ylabel = $y$,
        xmin=-2.5,
        xmax=2.5,
        ymin=-2.5,
        ymax=2.5,
        axis line style={line width=1pt},
        tick style={line width=1pt}
    ]
    \addplot[domain=-2:2, samples=100, color=blue,line width=1pt] {-x^2+2};
\end{axis}
\end{tikzpicture}
\caption{111}
\end{figure}

\begin{figure}[htbp]
\centering
\begin{tikzpicture}
    \begin{axis}
            [
                axis lines = middle,
                xlabel = $x$,
                ylabel = $y$,
                xmin=-2.5,
                xmax=2.5,
                ymin=-2.5,
                ymax=2.5,
                axis line style={line width=1pt},
                tick style={line width=1pt}
        ]
        \addplot[domain=-2:-0.2, samples=100, line width=1pt, color=blue] {1/x};
        \addplot[domain=0.2:2, samples=100, line width=1pt, color=blue] {1/x};

    \end{axis}
\end{tikzpicture}
\caption{222}
\end{figure}

\begin{figure}[htbp]
    \centering
    \begin{tikzpicture}
        \begin{axis}
                [
                    axis lines = middle,
                    xlabel = $x$,
                    ylabel = $y$,
                    xmin=-2.5,
                    xmax=2.5,
                    ymin=-2.5,
                    ymax=2.5,
                    axis line style={line width=1pt},
                    tick style={line width=1pt}
            ]
            \addplot[domain=-2:2,samples=100,variable=t,line width=1pt, color=blue
                ] ({-cosh(t)}, {2*sinh(t)});
            \addplot[domain=-2:2, samples=100, variable=t,line width=1pt, color=blue
                ] ({cosh(t)}, {2*sinh(t)});
        \end{axis}
    \end{tikzpicture}
    \caption{Hyperbola: $x^2 - \frac{y^2}{4} = 1$}
\end{figure}

\end{document}